package com.weipai.education.dao.impl;

import com.weipai.education.dao.TestDao;
import com.weipai.education.mapper.TestMapper;
import com.weipai.education.model.Test;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;

/**
 * @Author: 曹朋飞
 * @Date: 2018/12/05 16:27
 */
@Repository
public class TestDaoImpl implements TestDao{
    
    @Autowired
    private TestMapper testMapper;
    
    @Override
    public Test get() {
        return testMapper.selectByPrimaryKey(1);
    }
}
